﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kwik.Orm
{
	/// <summary>
	/// Constraint type
	/// </summary>
	public enum ConstraintType: int
	{
		/// <summary>
		/// Unknown type
		/// </summary>
		Unknown=0,
		/// <summary>
		/// Primary key type
		/// </summary>
		PrimaryKey,
		/// <summary>
		/// Foreign key type
		/// </summary>
		ForeignKey,
		/// <summary>
		/// Unique constraint
		/// </summary>
		Unique,
		/// <summary>
		/// Value not null type
		/// </summary>
		NotNull
	}
}
